package com.senven.shoppingcar.feign;

import com.senven.common.entity.Branch;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @Author zsy
 * @Date 2022/9/23 20:00
 * @PackageName:com.senven.shoppingcar.feign
 * @ClassName: BranchFeign
 * @Version 1.0
 */
@FeignClient(value = "senven-orderfood-branch")
public interface BranchFeign {
    @GetMapping("/api/branch//findAll")
    public List<Branch> findBranchName();
}
